/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.ProcessDressmakerDao;
import com.click.app.model.Employee;
import com.click.app.model.ProcessDressmaker;
import com.click.app.service.ProcessDressmakerManager;
import java.util.List;

/**
 *
 * @author ronald
 */
public class ProcessDressmakerManagerImpl extends GenericManagerImpl<ProcessDressmaker, Long>
                                          implements ProcessDressmakerManager{
    ProcessDressmakerDao processDressmakerDao;

    public ProcessDressmakerManagerImpl(ProcessDressmakerDao processDressmakerDao) {
        super(processDressmakerDao);
        this.processDressmakerDao = processDressmakerDao;
    }

    public List<ProcessDressmaker> findByEmployeePay(Employee employee) {
        return this.processDressmakerDao.findByEmployeePay(employee);
    }
    public List<ProcessDressmaker> getProcessDressmakers(){
        return processDressmakerDao.getProcessDressmakers();
    }
}
